package test.Set;

import java.util.HashSet;
import java.util.Set;

import org.junit.Test;

public class TeetSet2 {
	
	@Test
	public void testSet(){
		Person person1 = new Person("name1", 10, "mail");
		Person person2 = new Person("name1", 10, "mail");
		Person person3 = new Person("name1", 10, "mail");
		Person person4 = new Person("name1", 10, "mail");
		
		Set<Person> personSet = new HashSet<Person>();
		personSet.add(person1);
		personSet.add(person2);
		personSet.add(person3);
		personSet.add(person4);
		System.out.println(personSet);
		
		
	}
}
